package com.lnking.lnkingplace.model.dto.epidemicPrevention;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lnking.starter.export.annotation.TableColumn;
import com.lnking.starter.export.annotation.TableInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableInfo(tableName = "防疫信息")
public class EpidemicPreventionExportDto {

    @ApiModelProperty(value = "行业类型")
    @TableColumn(columnName = "行业类型")
    private String tradeType;

    @ApiModelProperty(value = "场所名称")
    @TableColumn(columnName = "场所名称",column = "1")
    private String placeName;

    @ApiModelProperty(value = "区县名称")
    @TableColumn(columnName = "区县名称",column = "2")
    private String countyName;

    @ApiModelProperty(value = "街道名称")
    @TableColumn(columnName = "街道名称",column = "3")
    private String streetName;

    @ApiModelProperty(value = "社区名称")
    @TableColumn(columnName = "社区名称",column = "4")
    private String communityName;

    @ApiModelProperty(value = "场所负责人")
    @TableColumn(columnName = "场所负责人",column = "5")
    private String placeLinkman;

    @ApiModelProperty(value = "场所负责人电话")
    @TableColumn(columnName = "场所负责人电话",column = "6")
    private Integer placeLinkmanPhone;

    @ApiModelProperty(value = "员工姓名")
    @TableColumn(columnName = "员工姓名",column = "7")
    private String staffName;

    @ApiModelProperty(value = "员工联系电话")
    @TableColumn(columnName = "员工联系电话",column = "8")
    private String staffPhone;

    @ApiModelProperty(value = "员工证件类型")
    @TableColumn(columnName = "员工证件类型",column = "9")
    private String staffCertificateType;

    @ApiModelProperty(value = "员工证件号码")
    @TableColumn(columnName = "员工证件号码",column = "10")
    private String staffCertificateNum;

    @ApiModelProperty(value = "最后一次核酸时间")
    @TableColumn(columnName = "最后一次核酸时间",column = "11")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime lastCheckTime;

    @ApiModelProperty(value = "最近一次核酸检测结果(阴性、阳性)")
    @TableColumn(columnName = "最近一次核酸检测结果",column = "12")
    private String lastCheckResult;

    @ApiModelProperty(value = "周期内是否做核酸")
    @TableColumn(columnName = "周期内是否做核酸",column = "13")
    private String periodCheck;

    @ApiModelProperty(value = "14天是否做核酸")
    @TableColumn(columnName = "14天是否做核酸",column = "14")
    private String fourteenCheck;
}
